package com.lecture.springlecture.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lecture.springlecture.entity.Score;
import com.lecture.springlecture.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author luyn
 * @version 1.0
 * @description
 * @date 2020/9/16 9:32
 */
public interface StudentMapper extends BaseMapper<Student> {

    int updateStudent(@Param("student") Student student);

    int updateScore(@Param("scoreList") List<Score> scoreList);
}
